package com.android.tetris.utils;

/*************************************************/
/* Static values to be used among the game *******/
/*************************************************/
public final class Values {
	public static final int NUM_ROW = 20;
	public static final int NUM_COL = 10;
	public static final long TIME_FINISHING = 7200000;
	
	public static final int TIME_RATE_LEVEL1 = 1000;
	public static final int TIME_RATE_LEVEL2 = 900;
	public static final int TIME_RATE_LEVEL3 = 800;
	public static final int TIME_RATE_LEVEL4 = 700;
	public static final int TIME_RATE_LEVEL5 = 600;
	
	public static final int TIME_LEVEL1TO2 = 150;
	public static final int TIME_LEVEL2TO3 = TIME_LEVEL1TO2 + 135;
	public static final int TIME_LEVEL3TO4 = TIME_LEVEL2TO3 + 120;
	public static final int TIME_LEVEL4TO5 = TIME_LEVEL3TO4 + 105;
	
	//Score codes
	public static final int SCORE_PER_ROW = 5;
	
	//Color codes
	public static final byte COLOR_NONE = 0;
	public static final byte COLOR_RED = 1;
	public static final byte COLOR_GREEN = 2;
	public static final byte COLOR_BLUE = 3;
	public static final byte COLOR_YELLOW = 4;
	public static final byte COLOR_PINK = 5;
	public static final byte COLOR_PURPLE = 6;
	public static final byte COLOR_WHITE = 7;
	
	//Piece codes. The "ascii art" will tell you which piece do the codes represent
	//0000
	//0000
	//1111
	//0000
	public static final byte SHAPE_0 = 0;
	//0000
	//0100
	//0111
	//0000
	public static final byte SHAPE_1 = 1;
	//0000
	//0001
	//0111
	//0000
	public static final byte SHAPE_2 = 2;
	//0000
	//0110
	//0110
	//0000
	public static final byte SHAPE_3 = 3;
	//0000
	//0011
	//0110
	//0000
	public static final byte SHAPE_4 = 4;
	//0000
	//0110
	//0011
	//0000
	public static final byte SHAPE_5 = 5;
	//0000
	//0010
	//0111
	//0000
	public static final byte SHAPE_6 = 6;
	
}
